Skip to content

Fix currency precision gdp express#1266

Merged
rmarkins-godaddy merged 2 commits intomainfrom
fix-currency-precision-gdp-express
Jan 29, 2026
Merged

Fix currency precision gdp express#1266
rmarkins-godaddy merged 2 commits intomainfrom
fix-currency-precision-gdp-express

Conversation

@pbennett1-godaddy
Copy link
Collaborator

@pbennett1-godaddy pbennett1-godaddy commented Jan 29, 2026

Summary

Fix GoDaddy Payments amount precision on shipping method change for express checkout. Floating point issues were causing collect to fail to update order to the correct total for payment.
Incorrect:

{
    "total": {
        "label": "Order Total",
        "amount": "27.450000000000003"
    },
}

Correct

{
    "total": {
        "label": "Order Total",
        "amount": "27.45"
    },
}

Changeset

  • Changeset added (docs)

Test Plan

@pbennett1-godaddy pbennett1-godaddy self-assigned this Jan 29, 2026
@pbennett1-godaddy pbennett1-godaddy requested a review from a team as a code owner January 29, 2026 19:49
@changeset-bot
Copy link

changeset-bot bot commented Jan 29, 2026

🦋 Changeset detected

Latest commit: c9599b5

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@godaddy/react Patch
nextjs Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@rmarkins-godaddy rmarkins-godaddy merged commit cf9ea1b into main Jan 29, 2026
3 checks passed
@rmarkins-godaddy rmarkins-godaddy deleted the fix-currency-precision-gdp-express branch January 29, 2026 19:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants